#添加库路径
include_directories(${project_source_dir}/mylib)

#设置可执行文件路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

aux_source_directory(./ DIR_SRCS)

add_executable(demo6 ${DIR_SRCS})

target_link_libraries(demo6 mylib)

